package cn.kgc.tangcco.kjde1020.mall.service;

import cn.kgc.tangcco.kjde1020.mall.vo.ProductDetailVo;
import cn.kgc.tangcco.kjde1020.mall.vo.ResponseVo;
import com.github.pagehelper.PageInfo;
import org.springframework.stereotype.Service;
@Service
public interface IProductService {
    /**
     *商品分类之类目查询功能
     * categoryid : mysql里的category_Id
     * Participation: categoryId , pageNum , pageSize
     */

    ResponseVo<PageInfo> list(Integer categoryId , Integer pageNum, Integer pageSize);
    /**
     *  商品详情
     *  Participation： productId
     */
    ResponseVo<ProductDetailVo> detail(Integer productId);
}
